package com.momo.seckilling.EventModel;

/**
 * Created by li on 2019/3/18.
 */
public class OrderEvent extends Event{
    private String name;
    private OrderEventType orderEventType;
   public OrderEvent(String name,OrderEventType orderEventType){
       this.name= name;
       this.orderEventType = orderEventType;
   }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public OrderEventType getOrderEventType() {
        return orderEventType;
    }

    public void setOrderEventType(OrderEventType orderEventType) {
        this.orderEventType = orderEventType;
    }
}
